<style>
    .msg-box{
        display: block;
    }
</style>

<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group" id="group-old">
        <label class="control-label col-xs-12 col-sm-2">接洽项目名称:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="input-group" >
                <input id="oldprojectname" data-rule="required" data-source="centralcontact/index" class="form-control selectpage" name="row[centralcontact_id]" type="text" value="">
                <span class="input-group-addon">
                    <input type="checkbox" id="checkold" ><label for="checkold"> 新项目</label>
                </span>
            </div><!-- /input-group -->
            <span class="msg-box n-right">
            </span>
        </div><!-- /.col-lg-6 -->
    </div>


    <div class="form-group hide" id="group-new">
        <label class="control-label col-xs-12 col-sm-2">接洽项目名称:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group" >
                <input id="newprojectname" data-rule="required" class="form-control" name="pro[title]" type="text" value="">
                <span class="input-group-addon">
                    <input type="checkbox" id="checknew" checked><label for="checknew"> 新项目</label>
                </span>
            </div><!-- /input-group -->
            <span class="msg-box n-right">
            </span>
        </div>
    </div>



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>总投资(亿):</label>
        <div class="col-xs-12 col-sm-6">
            <div class="input-group">
                <input class="form-control " id="investment_total" name="row[investment_total]" type="text"  placeholder="请填写总投资(亿)" value="" data-rule="required" onkeyup="clearNoNum(this)">
                <span class="input-group-addon">
                                  <input type="checkbox" class="pending" data-id="investment_total">待定
                                    </span>
                <span class="msg-box n-right"></span>
            </div>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">项目简介:</label>
        <div class="col-xs-12 col-sm-6">
            <textarea  class="form-control "  id="summary" name="row[summary]" rows="5" cols="50" placeholder="请填写项目简介"></textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">进展情况:</label>
        <div class="col-xs-12 col-sm-6">
            <textarea  class="form-control "  id="progression" name="row[progression]" rows="5" cols="50" placeholder="请填写进展情况"></textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">存在问题:</label>
        <div class="col-xs-12 col-sm-6">
            <textarea  class="form-control "  id="problem" name="row[problem]" rows="5" cols="50" placeholder="请填写存在问题"></textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">下一步措施:</label>
        <div class="col-xs-12 col-sm-6">
            <textarea  class="form-control "  id="next_measure" name="row[next_measure]" rows="5" cols="50" placeholder="请填写下一步措施"></textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">计划准入时间:</label>
        <div class="col-xs-12 col-sm-6">
            <input class="form-control datetimepicker"  type="text" id="access_time" name="row[access_time]"  data-date-format="YYYY-MM-DD" data-use-current="true" placeholder="请填写计划准入时间" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">计划签约时间:</label>
        <div class="col-xs-12 col-sm-6">
            <input class="form-control datetimepicker"  type="text" id="sign_time" name="row[sign_time]"  data-date-format="YYYY-MM-DD" data-use-current="true" placeholder="请填写计划签约时间" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">计划注册时间:</label>
        <div class="col-xs-12 col-sm-6">
            <input class="form-control datetimepicker"  type="text" id="register_time" name="row[register_time]"  data-date-format="YYYY-MM-DD" data-use-current="true" placeholder="请填写计划注册时间" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">提报部门:</label>
        <div class="col-xs-12 col-sm-6">
            <select class="form-control selectpicker" name="row[chargedep_ids][]" id="chargedep_ids" multiple title="请选择" >
                <option value="1">城阳街道</option>
                <option value="2">流亭街道</option>
                <option value="3">夏庄街道</option>
                <option value="4">惜福镇街道</option>
                <option value="5">棘洪滩街道</option>
                <option value="6">上马街道</option>
                <option value="7">河套街道</option>
                <option value="8">红岛街道</option>
                <option value="9">双招双引中心</option>
                <option value="10">区交通局</option>
                <option value="11">区财政局</option>
                <option value="12">区住建局</option>
                <option value="13">轨道交通产业示范区</option>
                <option value="14">区工信局</option>
                <option value="15">区商务局</option>
                <option value="16">区科技局</option>
                <option value="17">区检验检测中心</option>
                <option value="18">区贸促会</option>
                <option value="19">区文旅局</option>
                <option value="20">区大数据局</option>
                <option value="21">区金融局</option>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">领导:</label>
        <div class="col-xs-12 col-sm-6">
            <select class="form-control selectpicker" name="row[leader_ids][]" id="leader_ids" multiple title="请选择" >
                <option value="4">王波</option>
                <option value="5">解宏劲</option>
                <option value="6">杨超</option>
                <option value="7">于延涛</option>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">落户街道:</label>
        <div class="col-xs-12 col-sm-6">
            <select class="form-control selectpicker" name="row[settle_street_ids][]" id="settle_street_ids" multiple title="请选择" >
                <option value="1">城阳街道</option>
                <option value="2">流亭街道</option>
                <option value="3">夏庄街道</option>
                <option value="4">惜福镇街道</option>
                <option value="5">棘洪滩街道</option>
                <option value="6">上马街道</option>
                <option value="7">河套街道</option>
                <option value="8">红岛街道</option>
                <option value="13">轨道交通产业示范区</option>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">科室:</label>
        <div class="col-xs-12 col-sm-6">
            <select class="form-control " name="row[centraloffice_id]" id="centraloffice_id" >
                <option value="">请选择</option>
                <option value="1">招商一科</option>
                <option value="2">招商二科</option>
                <option value="3">招商三科</option>
                <option value="4">招商四科</option>
                <option value="5">招商五科</option>
                <option value="6">招商六科</option>
                <option value="7">招商七科</option>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">接洽时间:</label>
        <div class="col-xs-12 col-sm-6">
            <input class="form-control datetimepicker"  type="text" id="receive_time" name="row[receive_time]"  data-date-format="YYYY-MM-DD" data-use-current="true" placeholder="请填写接洽时间" value="">
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
